<div class="panel-title" #title [hidden]="title.children.length === 0">
  <ng-content select=".title"></ng-content>
</div>
<div class="panel-body" [class.no-title]="title.children.length === 0">
  <ng-content></ng-content>
</div>